package bean;

import java.sql.Timestamp;

/**
 * 用户信息类
 * 
 * @author a9296
 *
 */
public class User {
	private int id;
	private String headpic; // 头像url
	private String username; // 用户名
	private String qq; // QQ号
	private String addr; // 默认收货地址
	private Timestamp createtime; // 帐号创建时间
	private String locked; // 是否锁定，0正常，1锁定
	private String tel; // 手机号
	private String openid; // 用户的唯一标示

	public User() {
		super();
	}

	public User(int id, String headpic, String username, String qq, String addr) {
		super();
		this.id = id;
		this.headpic = headpic;
		this.username = username;
		this.qq = qq;
		this.addr = addr;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getHeadpic() {
		return headpic;
	}

	public void setHeadpic(String headpic) {
		this.headpic = headpic;
	}

	public Timestamp getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	public String getLocked() {
		return locked;
	}

	public void setLocked(String locked) {
		this.locked = locked;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}
}